package com.example.personnel_oa.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.comment_oa.pojos.SysEmployeePost;
import com.example.personnel_oa.mapper.SysEmployeePostMapper;
import com.example.personnel_oa.service.SysEmployeePostService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author asus
* @description 针对表【sys_employee_post】的数据库操作Service实现
* @createDate 2022-10-19 20:29:20
*/
@Service
public class SysEmployeePostServiceImpl extends ServiceImpl<SysEmployeePostMapper, SysEmployeePost>
implements SysEmployeePostService {
    @Autowired
    SysEmployeePostMapper employeePostMapper;
    @Override
    //员工入职后添加员工中间表
    public int addEmpPoet(int postId, int empId) {
        int i = employeePostMapper.addEmpPoet(postId, empId);
        return i;
    }
}
